package org.dromara.patrol.domain.model;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;

import java.io.Serial;
import java.io.Serializable;

@Data
public class Executors implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /** 执行人ID */
    @NotNull(message = "执行人ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long executor;
    /** 执行人名称 */
    private String executorName;
}
